package aynu.hd.Login.LoginService;

import aynu.hd.pojo.User;

import javax.servlet.http.HttpSession;

public interface loginService {
    //登录验证
    String queryUserByName(User user, HttpSession session);
    //获得注册验证码
    String queryUserByEmail(String user_email, HttpSession session);
    //注册验证
    String addUser(User user, String code, HttpSession session);
    //获得找回密码验证码
    String queryUserByEmailForget(String user_email, String user_name, HttpSession session);
    //更改新密码
    String userLoginForget(User user, String code, HttpSession session);
}
